package com.igor.reporting.pages.contactPerson;

import org.apache.tapestry5.annotations.Property;
import org.apache.tapestry5.ioc.annotations.Inject;

import com.igor.reporting.dao.contactPerson.ContactPersonDAO;
import com.igor.reporting.entities.contactPerson.ContactPerson;

public class View {

	@Inject
	private ContactPersonDAO contactPersonDAO;

	@Property
	private ContactPerson contactPerson;

	void onActivate(Long id) {
		contactPerson = contactPersonDAO.find(id);
	}

}
